package com.wn.controller.demo;

import lombok.Data;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;

/**
 * 读取yml配置文件中mysql前缀的配置
 */
@ConfigurationProperties(prefix = "mysql")
@Data
public class JdbcProperties {
    private String driver;
    private String url;
    private String username;
    private String password;
}
